* {
  padding: 0;
  margin: 0;
}
body,
html {
  width: 100%;
}
ul,
li {
  list-style: none;
}
.auto-img {
  width: 100%;
  height: auto;
  display: block;
}
nav {
  width: 100%;
  height: 50px;
  padding: 10px;
  display: flex;
  justify-content: space-around;
  align-items: end;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 10;
}
nav::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 27px;
  background: url('../images/home-common.png') no-repeat -1px -1px;
  width: 28px;
  height: 28px;
  z-index: 1;
  background-size: 20px;
}
nav .search {
  width: 70%;
  height: 20px;
  border-radius: 25px;
  padding: 5px 25px;
  outline: 0;
  border: 0;
}
nav .username {
  width: 30px;
  font-size: 12px;
  color: white;
  position: relative;
}
nav .username::before {
  content: "";
  position: absolute;
  bottom: 15px;
  left: 3px;
  background: url('../images/home-common.png') no-repeat 0 -23px;
  width: 40px;
  height: 44px;
  background-size: 25px;
}
.banner {
  width: 100%;
  margin-top: -50px;
  overflow: hidden;
  position: relative;
}
.banner .img-box {
  width: 600%;
  transform: translateX(-375px);
  transition: transform 1s;
}
.banner .img-box img {
  width: 16.6666%;
  white-space: normal;
  float: left;
}
.banner > ul {
  display: flex;
  position: absolute;
  bottom: 45px;
  right: 10px;
}
.banner > ul > .active {
  width: 20px;
}
.banner > ul li {
  width: 10px;
  height: 10px;
  background-color: white;
  opacity: 0.7;
  border-radius: 5px;
  margin: 0 5px;
}
main {
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
}
main .introduction {
  width: 100%;
  height: 80px;
  background-color: white;
  padding: 5px 10px;
  margin-top: -40px;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}
main .introduction li {
  position: relative;
}
main .introduction li span {
  position: absolute;
  top: -50px;
  left: 0;
}
main .introduction li:nth-of-type(1) span {
  background: url('../images/home-fivemain.png') no-repeat -14px -15px;
  width: 52px;
  height: 58px;
}
main .introduction li:nth-of-type(2) span {
  background: url('../images/home-fivemain.png') no-repeat -5px -81px;
  width: 70px;
  height: 54px;
  background-size: 70px;
  left: -4px;
}
main .introduction li:nth-of-type(3) span {
  background: url('../images/home-fivemain.png') no-repeat -7px -138px;
  width: 66px;
  height: 66px;
  background-size: 65px;
  left: -9px;
}
main .introduction li:nth-of-type(4) span {
  background: url('../images/home-fivemain.png') no-repeat -6px -202px;
  width: 68px;
  height: 55px;
  background-size: 65px;
  left: -9px;
}
main .introduction li:nth-of-type(5) span {
  background: url('../images/home-fivemain.png') no-repeat -7px -267px;
  width: 66px;
  height: 71px;
  background-size: 65px;
  left: -9px;
}
main .reserve {
  background-color: #fafafc;
}
main .reserve .commonly-used {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  font-size: 12px;
  text-align: center;
  line-height: 38px;
  color: white;
  margin-top: 20px;
}
main .reserve .commonly-used li {
  width: 25%;
  height: 38px;
  border: 1px solid white;
  box-sizing: border-box;
}
main .reserve .commonly-used div {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
main .reserve .commonly-used .hotel {
  background-color: #fa7252;
}
main .reserve .commonly-used .hotel li:nth-of-type(1) {
  background: url(../images/grid-nav-items-hotel.png) no-repeat 22px 10px / cover;
  background-size: 61px;
}
main .reserve .commonly-used .hotel li:nth-of-type(2) {
  background: url(../images/grid-nav-items-minsu.png) no-repeat 0 20px / cover;
  background-size: 30px;
}
main .reserve .commonly-used .hotel li:nth-of-type(4) {
  background: url(../images/grid-nav-items-jhj.png) no-repeat 26px 14px / cover;
  background-size: 61px;
}
main .reserve .commonly-used .flight {
  background-color: #4d9eed;
}
main .reserve .commonly-used .flight li:nth-of-type(1) {
  background: url(../images/grid-nav-items-flight.png) no-repeat 22px 10px / cover;
  background-size: 61px;
}
main .reserve .commonly-used .travel {
  background-color: #46c98f;
}
main .reserve .commonly-used .travel li:nth-of-type(1) {
  background: url(../images/grid-nav-items-travel.png) no-repeat 22px 10px / cover;
  background-size: 61px;
}
main .reserve .commonly-used .travel li:nth-of-type(2) {
  background: url(../images/grid-nav-items-dingzhi.png) no-repeat 0 20px / cover;
  background-size: 30px;
}
main .reserve .more {
  color: black;
  font-size: 12px;
  margin-top: 20px;
}
main .reserve .more div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  text-align: center;
}
main .reserve .more li {
  width: 20%;
}
main .reserve .more span {
  display: block;
  width: 42px;
  height: 47px;
  background-color: red;
  opacity: 0.5;
  margin: 0 auto;
}
main .reserve .more .ziyou li:nth-of-type(1) span {
  background: url('../images/un_ico_subnav.png') no-repeat -7px -6px;
  width: 42px;
  height: 47px;
}
main .reserve .more .ziyou li:nth-of-type(2) span {
  background: url('../images/un_ico_subnav.png') no-repeat -10px -65px;
  width: 36px;
  height: 47px;
}
main .reserve .more .ziyou li:nth-of-type(3) span {
  background: url('../images/un_ico_subnav.png') no-repeat -8px -118px;
  width: 40px;
  height: 47px;
}
main .reserve .more .ziyou li:nth-of-type(4) span {
  background: url('../images/un_ico_subnav.png') no-repeat -7px -172px;
  width: 40px;
  height: 47px;
  position: relative;
}
main .reserve .more .ziyou li:nth-of-type(5) span {
  background: url('../images/un_ico_subnav.png') no-repeat -5px -231px;
  width: 46px;
  height: 47px;
}
main .reserve .more .tejia {
  margin-top: 10px;
  padding-bottom: 20px;
}
main .reserve .more .tejia li:nth-of-type(1) span {
  background: url('../images/un_ico_subnav.png') no-repeat -9px -288px;
  width: 39px;
  height: 44px;
}
main .reserve .more .tejia li:nth-of-type(2) span {
  background: url('../images/un_ico_subnav.png') no-repeat -6px -344px;
  width: 44px;
  height: 44px;
}
main .reserve .more .tejia li:nth-of-type(3) span {
  background: url('../images/un_ico_subnav.png') no-repeat -6px -400px;
  width: 44px;
  height: 44px;
}
main .reserve .more .tejia li:nth-of-type(4) span {
  background: url('../images/un_ico_subnav.png') no-repeat -7px -457px;
  width: 41px;
  height: 44px;
}
main .reserve .more .tejia li:nth-of-type(4) span:after {
  color: white;
  content: "NEW";
  position: relative;
  top: -5px;
  right: -25px;
  padding: 2px 4px;
  border-radius: 7px;
  background-color: #fa5448;
}
main .reserve .more .tejia li:nth-of-type(5) span {
  background: url('../images/un_ico_subnav.png') no-repeat -7px -510px;
  width: 43px;
  height: 44px;
}
main .discount {
  width: 100%;
  margin-top: 20px;
  overflow: hidden;
}
main .discount .head {
  position: relative;
  background: url('../images/un_home_text.png') no-repeat 0 0;
  height: 29px;
}
main .discount .head span {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 10px;
  background-color: #ff5374;
  border-radius: 10px;
  color: white;
}
main .discount > .left {
  width: 49%;
  float: left;
  margin-top: 20px;
  background-color: #f9f9f9;
}
main .discount > .left .img-box {
  width: 100%;
}
main .discount > .left .text-box {
  font-size: 12px;
  color: #fe7181;
  margin: 10px 0;
}
main .discount > .left .text-box p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 15px;
  color: black;
  margin-bottom: 10px;
}
main .discount > .left .text-box span {
  font-size: 15px;
}
main .discount > .right {
  width: 49%;
  float: right;
  margin-top: 20px;
  padding: 0 5px;
  box-sizing: border-box;
  font-size: 12px;
}
main .discount > .right .top {
  width: 100%;
  height: 85px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;
}
main .discount > .right .top .text-box {
  width: 53%;
}
main .discount > .right .top .text-box p:nth-child(1) {
  color: #fd3850;
  font-weight: bold;
}
main .discount > .right .top .img-box {
  width: 40%;
}
main .discount > .right .bottom {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin-top: 5px;
}
main .discount > .right .bottom > .left,
main .discount > .right .bottom > .right {
  padding-top: 10px;
  width: 49%;
  background-color: #f9f9f9;
}
main .discount > .right .bottom img {
  width: 60%;
  margin: 0 auto;
}
main .zhuangshi {
  width: 100%;
  height: 10px;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  background-color: #fafafc;
  margin-top: 20px;
}
main .activity {
  width: 100%;
  margin-top: 10px;
  overflow: hidden;
}
main .activity .head {
  position: relative;
  background: url('../images/un_home_text.png') no-repeat 0 -39px;
  height: 30px;
}
main .activity .head span {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 10px;
  background-color: #ff5374;
  border-radius: 10px;
  color: white;
}
main .activity .head .advertising-icon {
  width: 35px;
  position: absolute;
  top: 0;
  left: 160px;
}
main .activity .content {
  width: 100%;
  margin-top: 20px;
  border-top: 1px solid #e0e0e0;
}
main .activity .content img {
  float: left;
  width: 50%;
  box-sizing: border-box;
  border-bottom: 1px solid #e0e0e0;
}
main .activity .content img:nth-child(odd) {
  border-right: 1px solid #e0e0e0;
}
main .download {
  width: 100%;
  text-align: center;
  padding-top: 10px;
  display: flex;
  justify-content: space-around;
  font-size: 12px;
}
main .download img {
  width: 25%;
  margin: 0 auto;
}
footer {
  padding: 20px 0;
  margin-top: 20px;
  background-color: #fafafc;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  font-size: 12px;
}
